android_app

This is the interface for the standard glue code of a threaded application. In this model, the application's code is running in its own thread separate from the main thread of the process. It is not required that this thread be associated with the Java VM, although it will need to be in order to make JNI calls any Java objects.

Members

Variables

activity
ANativeActivity* activity;
Undocumented in source.
activityState
int activityState;
Undocumented in source.
cmdPollSource
android_poll_source cmdPollSource;
Undocumented in source.
cond
pthread_cond_t cond;
Undocumented in source.
config
AConfiguration* config;
Undocumented in source.
contentRect
ARect contentRect;
Undocumented in source.
destroyRequested
int destroyRequested;
Undocumented in source.
destroyed
int destroyed;
Undocumented in source.
inputPollSource
android_poll_source inputPollSource;
Undocumented in source.
inputQueue
AInputQueue* inputQueue;
Undocumented in source.
looper
ALooper* looper;
Undocumented in source.
msgread
int msgread;
Undocumented in source.
msgwrite
int msgwrite;
Undocumented in source.
mutex
pthread_mutex_t mutex;
Undocumented in source.
onAppCmd
void function(android_app*, int) onAppCmd;
Undocumented in source.
onInputEvent
int function(android_app*, AInputEvent*) onInputEvent;
Undocumented in source.
pendingContentRect
ARect pendingContentRect;
Undocumented in source.
pendingInputQueue
AInputQueue* pendingInputQueue;
Undocumented in source.
pendingWindow
ANativeWindow* pendingWindow;
Undocumented in source.
redrawNeeded
int redrawNeeded;
Undocumented in source.
running
int running;
Undocumented in source.
savedState
void* savedState;
Undocumented in source.
savedStateSize
size_t savedStateSize;
Undocumented in source.
stateSaved
int stateSaved;
Undocumented in source.
thread
pthread_t thread;
Undocumented in source.
userData
void* userData;
Undocumented in source.
window
ANativeWindow* window;
Undocumented in source.

Meta